package com.human.service;

import com.human.entity.Contract;
import com.baomidou.mybatisplus.extension.service.IService;
import com.human.entity.ResultVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jzq
 * @since 2023-03-05
 */
public interface IContractService extends IService<Contract> {

    ResultVo page(int current, int pageSize, String name);

    ResultVo getContracts();

    ResultVo getContractById(Integer id);

    ResultVo deleteContractById(Integer id);

    ResultVo addContract(Contract contract);

    ResultVo updateContract(Contract contract);

}
